﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XQ.RequestOfficeSupplies.DAL.Model.Business;

namespace XQ.RequestOfficeSupplies.DAL.Model.Sys
{
    /// <summary>
    /// 微信用户模型
    /// </summary>
    public class WechatUserModel
    {
        /// <summary>
        /// 微信openid
        /// </summary>
        public string Openid { get; set; }
        /// <summary>
        /// 系统用户Token
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 用户部门等级
        /// </summary>
        public string UserDepartmentLevel { get; set; }
        /// <summary>
        /// 角色名
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 用户类型（system-系统用户  tourist - 游客）
        /// </summary>
        public string UserType { get; set; } = "system";

        /// <summary>
        /// 系统用户姓名（UserType='system'时有值）
        /// </summary>
        public string TrueName { get; set; }
        /// <summary>
        /// 系统用户ID（UserType='system'时有值）
        /// </summary>
        public int UserID { get; set; }
        /// <summary>
        /// 是否签约合同
        /// </summary>
        public bool IsSignContract { get; set; }
        /// <summary>
        /// 是否显示提示
        /// </summary>
        public bool IsShowTip { get; set; }
    }
}
